package org.lzh.controller;

import org.lzh.pojo.User;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

//用于教师信息的控制类
@Controller
@RequestMapping("teacher")
public class TeacherController {

    //跳转到教师的个人信息页面
    @RequestMapping(value="/home")
    public String home(){
        return "teacher/home";
    }

}
